<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<table style="border:#CCCCCC solid 0px; height:150px; margin-top:20px" align="center" width="725" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div class="ut_breaf_title">
                <a href="<c:url value="/userstable-get.html"><c:param name="id" value="${userTable.id}"/></c:url>">
                    <c:out value="${userTable.name}"/>
                    <c:if test="${!userTable.active}">[таблица не активна]</c:if>
                    <br/>
                    <span>
                        [Период:
                        <c:if test="${userTable.showTypeName}"><fmt:message key="usertable.type.${userTable.type}"/></c:if>
                        (<c:out value="${userTable.periodLength}"/> дней),
                        c <fmt:formatDate value="${userTable.from}" pattern="dd.MM.yyyy"/> по <fmt:formatDate value="${userTable.to}" pattern="dd.MM.yyyy"/>]
                    </span>
                </a>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <table align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <ul id="utBriefCarousel_${userTable.id}" class="usertable_breaf jcarousel-skin-tango_ut_breaf">
                            <c:forEach var="dayMenu" items="${usersTablesBrief.dayMenuWebWrappers}">
                                <li>
                                    <c:set var="dayMenuForBreifBlock" value="${dayMenu}"/>
                                    <%@include file="../daymenus/dayMenuBreifBlock.jsp"%>
                                </li>
                            </c:forEach>
                        </ul>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
